package com.aaa.mrcai.controller;

import com.aaa.mrcai.query.StoreQuery;
import com.aaa.mrcai.result.AjaxResult;
import com.aaa.mrcai.service.StoreCategoryRateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * TODO
 *
 * @author 惠普
 * @date 2021/12/22  20:38
 */
@RestController
@RequestMapping("pie")
public class StoreCategoryRateController {


    @Autowired
    private StoreCategoryRateService storeCategoryRateService;

    @RequestMapping("list")
    public AjaxResult list(){
        return  storeCategoryRateService.list();
    }

}
